// *********************************************// * Invasion - Rebecca  & Nick*// *********************************************// shared.lua - Loads shared functionalityGM.Name 			= "Invasion"GM.Author 		= "Rebecca & Nick"GM.Email 		= "bekka_loves_joel@hotmail.co.uk"GM.Website 		= "123"GM.OnWave = 1InvasionSettings = {}InvasionSettings.EnableInfoBar = falseInvasionSettings.RadarZoom = 900Register = {}GM.DataBase = {}GM.DataBase.Waves = {}function Register.Wave(tblWave) GM.DataBase.Waves[tblWave.ID] = tblWave endfunction WaveTable(intWave) return GAMEMODE.DataBase.Waves[intWave] endGM.DataBase.NPCS = {}function Register.NPC(tblNPC) GM.DataBase.NPCS[tblNPC.Name] = tblNPC endfunction NPCTable(strNPC) return GAMEMODE.DataBase.NPCS[strNPC] endlocal Path = string.Replace(GM.Folder,"gamemodes/","").."/gamemode/shared/"for _,v in pairs(file.FindInLua(Path.."*.lua")) do	include(Path..v)	if SERVER then		AddCSLuaFile(Path..v)	endend